import request from '@/utils/request'
import { getToken } from '@/utils/auth'

export function getList(params) {
  return request({
    url: '/vue-admin-template/table/list',
    method: 'get',
    params,
  })
}

export function userList(data) {
  const token = getToken()
  return request({
    url: '/user/findUserPageByParam?token=' + token,
    method: 'POST',
    data,
  })
}
